/* 修改系统整体样式设置 */
@charset "UTF-8";
:root {
  /* header */
  --header-height: 70px;
  --vxe-primary-color: #12c277;
  --vxe-font-color: #111;
  --vxe-table-header-font-color: #555;
  --vxe-table-column-current-background-color: rgba(206, 225, 240, 0.3);
  --vxe-table-column-hover-background-color: rgba(206, 225, 240, 0.3);
}


.vxe-formConfig {
  padding-bottom: 36px;
  position: relative;

  &::after {
    content: '';
    position: absolute;
    bottom: 11px;
    left: -22px;
    width: calc(100% + 44px);
    height: 16px;
    background: #f0f2f5;
  }
}

.vxe-toolbarConfig {
  display: flex !important;
  justify-content: flex-end !important;
  position: relative !important;

  .vxe-buttons--wrapper {
    flex-grow: 0;
  }

  &::before {
    content: '数据列表';
    font-size: 16px;
    color: #4f5d70;
    font-weight: bold;
    text-indent: 14px;
    width: 120px;
    height: 18px;
    position: absolute;
    left: 2px;
    background: url(../assets/images/title_tips.png) no-repeat;
    background-size: contain;
    display: flex;
    align-items: center;
  }
}

.stationWarningFlicker {
  animation: showHidden 0.7s ease infinite alternate;
}

.vectorLayerLocationIcon {
  animation: showHidden 0.65s ease infinite alternate;
}

@keyframes showHidden {
  20% { opacity: 1; }
  100% { opacity: 0; }
}

@keyframes turn {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}



.ol-popup {
  position: absolute;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(6px);
  box-shadow: 0 1px 4px rgba(0,0,0,0.2);
  padding: 14px;
  border-radius: 10px;
  border: 1px solid #cccccc;
  bottom: 12px;
  left: -50px;
  min-width: 150px;
  pointer-events: auto;
}
.ol-popup:after, .ol-popup:before {
  top: 100%;
  border: solid transparent;
  content: " ";
  height: 0;
  width: 0;
  position: absolute;
  pointer-events: none;
}
.ol-popup:after {
  border-top-color: white;
  border-width: 10px;
  left: 48px;
  margin-left: -10px;
}
.ol-popup:before {
  border-top-color: #cccccc;
  border-width: 11px;
  left: 48px;
  margin-left: -11px;
}
.ol-popup-closer {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  position: absolute;
  top: 4px;
  right: 6px;
  z-index: 100;
  cursor: pointer;
}
.ol-popup-closer:after {
  content: "✖";
  color: #00aaff;
  font-size: 16px;
}

.stationPopup {
  .ant-tabs, .ant-tabs-content, .ant-tabs-tabpane {
    height: 100%;
  }
}
